package com.cskaoyan.bean.cart.vo;

import com.cskaoyan.bean.Address;
import com.cskaoyan.bean.Cart;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

@Data
public class CartCheckoutData {

    /**
     * grouponPrice : 0
     * grouponRulesId : 0
     * checkedAddress : {"id":5,"name":"松哥","userId":1,"provinceId":17,"cityId":201,"areaId":1881,"address":"花山街道软件新城2期","mobile":"15976753826","isDefault":false,"addTime":"2020-04-27 20:58:25","updateTime":"2021-06-08 11:57:08","deleted":false}
     * actualPrice : 3431
     * orderTotalPrice : 3431
     * couponPrice : 0
     * availableCouponLength : 0
     * couponId : 0
     * freightPrice : 0
     * checkedGoodsList : [{"id":113,"userId":1,"goodsId":1166008,"goodsSn":"1166008","goodsName":"Carat钻石 不粘厨具组合","productId":244,"price":459,"number":6,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/615a16e899e01efb780c488df4233f48.png","addTime":"2021-06-08 11:53:30","updateTime":"2021-06-08 12:35:18","deleted":false},{"id":115,"userId":1,"goodsId":1114011,"goodsSn":"1114011","goodsName":"104升 纯PC拉链斜纹拉杆箱","productId":159,"price":299,"number":2,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/196b5ce11930b4eadaec563cb0406634.png","addTime":"2021-06-08 13:08:34","updateTime":"2021-06-08 13:08:34","deleted":false},{"id":116,"userId":1,"goodsId":1039051,"goodsSn":"1039051","goodsName":"多功能午睡枕","productId":54,"price":79,"number":1,"specifications":["标准"],"checked":true,"picUrl":"http://yanxuan.nosdn.127.net/c8ca0600fa7ba11ca8be6a3173dd38c9.png","addTime":"2021-06-08 13:36:44","updateTime":"2021-06-08 13:36:44","deleted":false}]
     * goodsTotalPrice : 3431
     * addressId : 5
     */

    private BigDecimal grouponPrice;
    private Integer grouponRulesId;
    private Address checkedAddress;
    private BigDecimal actualPrice;
    private BigDecimal orderTotalPrice;
    private BigDecimal couponPrice;
    private Integer availableCouponLength;
    private Integer couponId;
    private BigDecimal freightPrice;
    private BigDecimal goodsTotalPrice;
    private Integer addressId;
    private List<Cart> checkedGoodsList;//所有勾选的购物车条目

}
